<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    
</body>
<script>

    for(var i = 1;i<=9;i++){
        var count = i;
        // console.log(count)
        for(var k = 1;k <= i;k++){
            var num = k;
            // console.log(num);
            document.write( count+'*'+num+'='+count*num)
        }
        document.write('<br>')
    }

</script>
</html>